Universal Access To All Knowledge
Home Donate | Store | Blog | FAQ | Jobs | Volunteer Positions | Contact | Bios | Forums | Projects | Terms, Privacy, & Copyright
Search: Advanced Search
Anonymous User (login or join us)
Upload

Reply to this post | Go Back
View Post [edit]

Poster: Madhavananda Date: Jun 25, 2005 6:10am
Forum: opensource_movies Subject: Accessing your download statistics - all in one place

A while back I asked about the possibility of seeing the download statistics for all my files in one place. However, since that didn't seem possible (and since the stats shown on the search page don't reflect the current figures at all), I decided to take a crack at it myself.

The script grabs the download totals for all of your entries and outputs the identifier, the total downloads, the batting average and total views (counted as downloads * batting average %) into a neat table, as seen below:



PHP support required. The script should run on any modern webserver. Licensed under GPL.

If necessary, it's easy enough to modify the script to input the details into a database, which is what I'll be doing with it myself.

Remember - each time you run the script a view is logged, counting against your batting average. :( It wish it wasn't that way, but currently there doesn't seem to be much options for this.

Download the script from:
http://www.lakeofflowers.com/files/archive_parser.zip

Reply to this post
Reply [edit]

Poster: Madhavananda Date: Jun 25, 2005 7:08am
Forum: opensource_movies Subject: Re: Accessing your download statistics - all in one place

Most web servers in a shared hosting environment have the maximum script execution time set to 30 seconds. Due to the slow response times of the IA server in supplying data, the script seems to hit the ceiling after 10-15 entries.

You may therefore need to either break this into several separate scripts with 10 entries each or otherwise run it on a local server where you can define the maximum execution time as something higher, such as 60 or 120 seconds.